package com.ruipengkj.service;


import com.ruipengkj.bean.TWorkShift;
import com.ruipengkj.commons.base.query.PageModel;
import com.ruipengkj.commons.service.IGenericService;

/**
 * 交班Service层接口
 * @author 孙航
 *
 */
public interface TWorkShiftService extends IGenericService<TWorkShift, String> {

	public TWorkShift getLastOne(TWorkShift tWorkShift)throws RuntimeException;

	public TWorkShift findLastOne();
	
	public TWorkShift findLastOneByEmployee(String empID);
	
	public PageModel<TWorkShift> getScrollByEmployee(int firstResult,int maxResult, TWorkShift entity) throws Exception;
}
